package com.hanxiaozhang.constant;

/**
 * 〈一句话功能简述〉<br>
 * 〈全局常量〉
 *
 * @author hanxinghua
 * @create 2020/7/4
 * @since 1.0.0
 */
public class Constant {

    private Constant(){

    }

    public static final String CONTENT_TYPE = "Content-Type";

    public static final String AUTHORIZATION = "Authorization";

    public static final String APP_JSON = "application/json";

    public static final String APP_JSON_UTF_8 = "application/json;charset=utf-8";

    public final static String CONTEXT_TOKEN="Authorization";

    public final static String CONTEXT_USERNAME="contextUsername";

    public final static String CONTEXT_USER_ID="contextUserId";

    public final static String CONTEXT_NAME="contextName";

    public final static String JWT_PRIVATE_KEY ="hanxiaozhang";

    public final static String RENEWAL_TIME =  "renewalTime";

    public final static String TOKEN = "token";

    public static final String USER_ID = "id";

    public static final String USER_NAME = "Name";

    public static final String OPTIONS = "OPTIONS";
}
